import request from '@/utils/request'

// 新车列表
export function newCarList(params) {
    return request({
      url: '/system/newcar/list',
      method: 'get',
      params
    })
  }

// 旧车列表
export function oldCarList(params) {
    return request({
      url: '/system/userdcar/list',
      method: 'get',
      params
    })
  }

//   新车删除
  export function newCarDelete(ids) {
    return request({
      url: '/system/newcar/' + ids,
      method: 'delete'
    })
  }

  //   二手车删除
  export function oldCarDelete(ids) {
    return request({
      url: '/system/userdcar/' + ids,
      method: 'delete'
    })
  }


  